<?php

/**
 * Class containing the AJAX scripts.
 *
 * @author Ian Clarence ian.clarence@gmail.com
 */ 
abstract class ViewAjax extends Component {

    /**
     * The constructor.
     *
     * @param array $fields
     */
    public function __construct(array $fields = array()) {        
        parent::__construct($fields);
    }
    
    /**
     * Testing to see if AJAX is working.
     * 
     * @return string 
     */
    public function helloworld() {
        return 'hello world!';
    }
    
}